package com.example.hyclipboard;

import java.util.HashMap;
import java.util.Map;

public class APIs {

    public static final Map<String, String> apis = new HashMap<>();

    public static String getAPI(String operation) {
        apis.put("signup", "/hyclipboard_server/signup");
        apis.put("query", "/hyclipboard_server/query");
        apis.put("login", "/hyclipboard_server/login");
        apis.put("push", "/hyclipboard_server/push");
        apis.put("fetch", "/hyclipboard_server/fetch");
        apis.put("read", "/hyclipboard_server/read");
        apis.put("alive", "/hyclipboard_server/alive");
        return apis.get(operation);
    }
}
